import unittest
import time


class TestCaseOne(unittest.TestCase):

    def setUp(self):
        print('---用例开始---')

    def tearDown(self):
        print('---用例结束---')
        time.sleep(3)

    @classmethod
    def setUpClass(cls):
        print('---测试开始---')

    @classmethod
    def tearDownClass(cls):
        print('---测试结束---')